﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Objects;

namespace Empires.RAL.ORM
{
    public partial class mysql_empiresEntities : ObjectContext
    {
        /// <summary>
        /// 没有元数据文档可用。
        /// </summary>
        public ObjectResult<System.Int32> PostBlogArticle(DateTime publishdate, string author, string title, string content, int scan, string mainphoto, string shotphoto)
        {
            return base.ExecuteFunction<System.Int32>("PostBlogArticle",
                new System.Data.Objects.ObjectParameter("pbdate", publishdate),
                        new System.Data.Objects.ObjectParameter("author", author),
                        new System.Data.Objects.ObjectParameter("title", title),
                        new System.Data.Objects.ObjectParameter("content", content),
                        new System.Data.Objects.ObjectParameter("scan", scan),
                        new System.Data.Objects.ObjectParameter("isLock", 0),
                        new System.Data.Objects.ObjectParameter("photo", mainphoto),
                        new System.Data.Objects.ObjectParameter("stphoto", shotphoto));
        }

    }
}
